package dongze.com.ckdj.data.entity.response;

import com.google.gson.annotations.JsonAdapter;

import java.util.List;

import dongze.com.ckdj.data.gson.GsonNullDeserializer;

/**
 * Created by fanqwz on 2017/10/10.
 */

@JsonAdapter(GsonNullDeserializer.class)
public class GetCheckInRecordResponse {
    long in_size;
    long no_size;
    List<GetCheckInRecordItem> list_no;
    List<GetCheckInRecordItem> list_in;

    public long getIn_size() {
        return in_size;
    }

    public void setIn_size(long in_size) {
        this.in_size = in_size;
    }

    public long getNo_size() {
        return no_size;
    }

    public void setNo_size(long no_size) {
        this.no_size = no_size;
    }

    public List<GetCheckInRecordItem> getList_no() {
        return list_no;
    }

    public void setList_no(List<GetCheckInRecordItem> list_no) {
        this.list_no = list_no;
    }

    public List<GetCheckInRecordItem> getList_in() {
        return list_in;
    }

    public void setList_in(List<GetCheckInRecordItem> list_in) {
        this.list_in = list_in;
    }

    @JsonAdapter(GsonNullDeserializer.class)
    public static class GetCheckInRecordItem {
        String brand_code;
        String brand_name;
        String vin;
        String voyage;

        public String getBrand_code() {
            return brand_code;
        }

        public void setBrand_code(String brand_code) {
            this.brand_code = brand_code;
        }

        public String getBrand_name() {
            return brand_name;
        }

        public void setBrand_name(String brand_name) {
            this.brand_name = brand_name;
        }

        public String getVin() {
            return vin;
        }

        public void setVin(String vin) {
            this.vin = vin;
        }

        public String getVoyage() {
            return voyage;
        }

        public void setVoyage(String voyage) {
            this.voyage = voyage;
        }
    }
}
